package com.quanyan.user.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * Created by zhang on 16/11/14.
 */
public class ReqChangePhone implements Serializable {
    @NotNull
    private String phone;

    //type=1时不填写
    private Integer uid;

    //对外接口：type = 1；dubbo接口：type = 2；
    private int type;

    //type=2时不填写
    private String validCode;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getValidCode() {
        return validCode;
    }

    public void setValidCode(String validCode) {
        this.validCode = validCode;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
